<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板专业版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
            <div class="container-fluid">
                <a class="navbar-brand" href="workplace.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">专业版</span></a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#headerNavbar" aria-controls="headerNavbar" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="headerNavbar">
                    <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                        <li class="nav-item"><a class="nav-link" href="workplace.html">首页</a></li>
                        <li class="nav-item"><a class="nav-link" href="settings.html">设置</a></li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="basis-language.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">基础设置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="basis-language.html">多语言</a></li>
                                <li><a class="dropdown-item" href="basis-policies.html">政策条款</a></li>
                                <li><a class="dropdown-item" href="basis-delete.html">注销功能</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="system-site.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">系统设置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="system-site.html">站点设置</a></li>
                                <li><a class="dropdown-item" href="system-send.html">发信设置</a></li>
                                <li><a class="dropdown-item" href="system-user.html">用户设置</a></li>
                                <li><a class="dropdown-item" href="system-wallet.html">钱包设置</a></li>
                                <li><a class="dropdown-item" href="system-storage-image.html">存储设置</a></li>
                                <li><a class="dropdown-item" href="system-map.html">地图设置</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle" href="operating-rename.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">运营配置</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="operating-rename.html">命名配置</a></li>
                                <li><a class="dropdown-item" href="operating-interactive.html">互动配置</a></li>
                                <li><a class="dropdown-item" href="operating-emoji.html">表情配置</a></li>
                                <li><a class="dropdown-item" href="operating-publish-post.html">发表配置</a></li>
                                <li><a class="dropdown-item" href="operating-filter.html">过滤配置</a></li>
                                <li><a class="dropdown-item" href="operating-role.html">用户角色</a></li>
                                <li><a class="dropdown-item" href="operating-group.html">内容小组</a></li>
                            </ul>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link dropdown-toggle active" href="expand-editor.html" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">扩展管理</a>
                            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <li><a class="dropdown-item" href="expand-editor.html">编辑器扩展</a></li>
                                <li><a class="dropdown-item" href="expand-type.html">内容类型扩展</a></li>
                                <li><a class="dropdown-item" href="expand-manage.html">管理扩展</a></li>
                                <li><a class="dropdown-item" href="expand-group.html">小组扩展</a></li>
                                <li><a class="dropdown-item" href="expand-userfeature.html">用户功能扩展</a></li>
                                <li><a class="dropdown-item" href="expand-userprofile.html">用户资料扩展</a></li>
                            </ul>
                        </li>
                    </ul>
                    <div class="navbar-nav">
                        <div class="btn-group d-flex flex-column">
                            <button type="button" class="btn btn-outline-light btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"><i class="bi bi-translate"></i> 简体中文 - Chinese (Simplified)</button>
                            <ul class="dropdown-menu">
                                <li><a class="dropdown-item" href="#">English - English</a></li>
                                <li><a class="dropdown-item" href="#">Español - Spanish</a></li>
                                <li><a class="dropdown-item" href="#">Français - French</a></li>
                                <li><a class="dropdown-item" href="#">日本語 - Japanese</a></li>
                                <li><a class="dropdown-item" href="#">한국어 - Korean</a></li>
                                <li><a class="dropdown-item" href="#">Русский - Russian</a></li>
                                <li><a class="dropdown-item" href="#">Português - Portuguese</a></li>
                                <li><a class="dropdown-item" href="#">Bahasa Indonesia - Indonesian</a></li>
                                <li><a class="dropdown-item" href="#">简体中文 - Chinese (Simplified)</a></li>
                                <li><a class="dropdown-item" href="#">繁體中文 - Chinese (Traditional)</a></li>
                            </ul>
                        </div>
                        <div class="ms-lg-3 my-3 my-lg-0"><a class="btn btn-outline-warning btn-sm" href="index.html" role="button">退出</a></div>
                    </div>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-fluid">
            <div class="row">
                <!--菜单 开始-->
                <div class="col-lg-2 fresns-sidebar mt-3 mt-lg-0">
                    <nav class="navbar navbar-expand-lg navbar-light flex-lg-column shadow" style="background-color:#e3f2fd;">
                        <div class="container-fluid d-lg-flex flex-lg-column">
                            <span class="navbar-brand">扩展</span>
                            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                                <span class="navbar-toggler-icon"></span>
                            </button>
                            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                                <ul class="navbar-nav d-flex flex-column">
                                    <li class="nav-item"><a class="nav-link" href="expand-editor.html">编辑器扩展</a></li>
                                    <li class="nav-item"><a class="nav-link" href="expand-type.html">内容类型扩展</a></li>
                                    <li class="nav-item"><a class="nav-link" href="expand-manage.html">管理扩展</a></li>
                                    <li class="nav-item"><a class="nav-link" href="expand-group.html">小组扩展</a></li>
                                    <li class="nav-item"><a class="nav-link active" href="expand-userfeature.html">用户功能扩展</a></li>
                                    <li class="nav-item"><a class="nav-link" href="expand-userprofile.html">用户资料扩展</a></li>
                                    <li class="nav-item d-block d-lg-none my-3 text-secondary">Powered by Fresns</li>
                                </ul>
                            </div>
                        </div>
                        <div class="fresns-copyright d-none d-lg-block">Powered by Fresns</div>
                    </nav>
                </div>
                <!--菜单 结束-->
                <!--设置区域 开始-->
                <div class="col-lg-10 fresns-setting mt-3 mt-lg-0 p-lg-3">
                    <div class="bg-body mb-2 p-3 p-lg-5">
                        <div class="row mb-5 border-bottom">
                            <div class="col-lg-9">
                                <h3>用户功能扩展</h3>
                                <p class="text-secondary">将呈现在「用户中心」的“我的”页面中，例如「钱包」扩展可以让用户中心多一个钱包功能。</p>
                            </div>
                            <div class="col-lg-3">
                                <div class="input-group mt-2 mb-4 justify-content-lg-end">
                                    <button class="btn btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#createModal"><i class="bi bi-plus-circle-dotted"></i> 新增扩展</button>
                                    <a class="btn btn-outline-secondary" href="#" role="button">帮助说明</a>
                                </div>
                            </div>
                        </div>
                        <!--操作列表-->
                        <div class="table-responsive">
                            <table class="table table-hover align-middle text-nowrap">
                                <thead>
                                    <tr class="table-info">
                                        <th scope="col" style="width:6rem;">显示顺序</th>
                                        <th scope="col">关联插件</th>
                                        <th scope="col">显示名称</th>
                                        <th scope="col">有权使用的用户角色 <i class="bi bi-info-circle" data-bs-toggle="tooltip" data-bs-placement="top" title="留空代表所有用户角色均有权使用"></i></th>
                                        <th scope="col">自定义参数</th>
                                        <th scope="col">启用状态</th>
                                        <th scope="col" style="width:8rem;">操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td><input type="number" class="form-control input-number" value="1"></td>
                                        <td>积分插件</td>
                                        <td><img src="../assets/images/temp/placeholder_icon.png" width="24" height="24"> 金币钱包</td>
                                        <td></td>
                                        <td></td>
                                        <td><i class="bi bi-check-lg text-success"></i></td>
                                        <td>
                                            <button type="button" class="btn btn-outline-primary btn-sm" data-bs-toggle="modal" data-bs-target="#createModal">修改</button>
                                            <button type="button" class="btn btn-link link-danger ms-1 fresns-link fs-7">删除</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><input type="number" class="form-control input-number" value="2"></td>
                                        <td>邀请注册</td>
                                        <td><img src="../assets/images/temp/placeholder_icon.png" width="24" height="24"> 邀请嘉宾</td>
                                        <td><span class="badge bg-light text-dark">管理员</span></td>
                                        <td>test</td>
                                        <td><i class="bi bi-dash-lg text-secondary"></i></td>
                                        <td>
                                            <button type="button" class="btn btn-outline-primary btn-sm" data-bs-toggle="modal" data-bs-target="#createModal">修改</button>
                                            <button type="button" class="btn btn-link link-danger ms-1 fresns-link fs-7">删除</button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!--操作列表 结束-->
                        <nav aria-label="Page navigation example">
                            <ul class="pagination">
                                <li class="page-item disabled"><a class="page-link" href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
                                <li class="page-item active"><a class="page-link" href="#">1</a></li>
                                <li class="page-item"><a class="page-link" href="#">2</a></li>
                                <li class="page-item"><a class="page-link" href="#">3</a></li>
                                <li class="page-item"><a class="page-link" href="#" aria-label="Next"><span aria-hidden="true">&raquo;</span></a></li>
                            </ul>
                        </nav>
                    </div>
                    
                    <footer>
                        <div class="copyright text-center">
                            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
                        </div>
                    </footer>
                </div>
                <!--设置区域 结束-->
            </div>
        </div>
    </main>

    <!-- Create Modal -->
    <div class="modal fade" id="createModal" tabindex="-1" aria-labelledby="createModal" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">用户功能扩展</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">显示顺序</label>
                            <div class="col-sm-9">
                                <input type="number" class="form-control input-number">
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">关联插件</label>
                            <div class="col-sm-9">
                                <select class="form-select">
                                    <option selected disabled>请选择插件</option>
                                    <option value="1">One</option>
                                    <option value="2">Two</option>
                                    <option value="3">Three</option>
                                </select>
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">显示图标</label>
                            <div class="col-sm-9">
                                <input type="file" class="form-control" id="inputGroupFile01">
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">显示名称</label>
                            <div class="col-sm-9">
                                <button type="button" class="btn btn-outline-secondary btn-modal w-100 text-start" data-bs-toggle="modal" data-bs-target="#langModal">显示名称</button>
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">角色使用权</label>
                            <div class="col-sm-9">
                                <select class="form-select" multiple>
                                    <option selected>全部</option>
                                    <option value="1">管理员</option>
                                    <option value="2">版主</option>
                                    <option value="3">普通会员</option>
                                    <option value="4">中级会员</option>
                                    <option value="5">高级会员</option>
                                </select>
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">自定义参数</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control">
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label">启用状态</label>
                            <div class="col-sm-9 pt-2">
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="status" id="status_true" value="true" checked>
                                    <label class="form-check-label" for="status_true">启用</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="status" id="status_false" value="false">
                                    <label class="form-check-label" for="status_false">不启用</label>
                                </div>
                            </div>
                        </div>
                        <div class="mb-3 row">
                            <label class="col-sm-3 col-form-label"></label>
                            <div class="col-sm-9"><button type="submit" class="btn btn-primary">提交</button></div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Language Modal -->
    <div class="modal fade" id="langModal" tabindex="-1" aria-labelledby="langModal" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">多语言设置</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="table-responsive">
                            <table class="table table-hover align-middle text-nowrap">
                                <thead>
                                    <tr class="table-info">
                                        <th scope="col" class="w-25">语言标签</th>
                                        <th scope="col" class="w-25">语言名称</th>
                                        <th scope="col" class="w-50">内容</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>zh-Hans-CN</td>
                                        <td>简体中文(内地)</td>
                                        <td><input type="text" class="form-control" value="显示名称"></td>
                                    </tr>
                                    <tr>
                                        <td>zh-Hans-SG</td>
                                        <td>简体中文(新加坡)</td>
                                        <td><input type="text" class="form-control" value="显示名称"></td>
                                    </tr>
                                    <tr>
                                        <td>zh-Hans-HK</td>
                                        <td>繁體中文(香港)</td>
                                        <td><input type="text" class="form-control" value="顯示名稱"></td>
                                    </tr>
                                    <tr>
                                        <td>en-US <i class="bi bi-info-circle text-primary" data-bs-toggle="tooltip" data-bs-placement="top" title="默认语言"></i></td>
                                        <td>English(United States)</td>
                                        <td><input type="text" class="form-control" value="display name"></td>
                                    </tr>
                                    <tr>
                                        <td>ja</td>
                                        <td>日本語</td>
                                        <td><input type="text" class="form-control" value="表示名"></td>
                                    </tr>
                                    <tr>
                                        <td>ko-KR</td>
                                        <td>한국어(대한민국)</td>
                                        <td><input type="text" class="form-control" value="이름 표시하기"></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!--保存按钮-->
                        <div class="text-center">
                            <button type="button" class="btn btn-success" data-bs-dismiss="modal" aria-label="Close">确认</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>